package com.service;

import com.model.TestUser;

import java.util.List;

/**
 * Created by Administrator on 2018-8-10 0010.
 */
public interface TestUserService {

    TestUser getTestUserById(Integer userId) throws Exception;

    int insertTestUser(TestUser testUser) throws Exception;

    int updateTestUser(TestUser testUser) throws Exception;

    List<TestUser> getAllList() throws Exception;

    int deleteById(Integer userId) throws Exception;

    /**
     * 查询总记录数目，分页用
     * @return
     */
    int selectCount() throws Exception;

    TestUser getUserByName(String username) throws Exception;

}
